package com.bsg.upm.entity;

import java.io.Serializable;

/**
 * 字典实体类
 * 
 * @author HCK
 *
 */
public class DictEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String dictTypeCode;

	/**
	 * 字典类型代码
	 */
	private String code;

	/**
	 * 字典类型名称
	 */
	private String name;

	private Integer sequence;

	/**
	 * 获取dictTypeCode
	 *
	 * @return dictTypeCode dictTypeCode
	 */
	public String getDictTypeCode() {
		return dictTypeCode;
	}

	/**
	 * 设置dictTypeCode
	 *
	 * @param dictTypeCode
	 *            dictTypeCode
	 */
	public void setDictTypeCode(String dictTypeCode) {
		this.dictTypeCode = dictTypeCode;
	}

	/**
	 * 获取code
	 *
	 * @return code code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * 设置code
	 *
	 * @param code
	 *            code
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * 获取name
	 *
	 * @return name name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置name
	 *
	 * @param name
	 *            name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取sequence
	 *
	 * @return sequence sequence
	 */
	public Integer getSequence() {
		return sequence;
	}

	/**
	 * 设置sequence
	 *
	 * @param sequence
	 *            sequence
	 */
	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "DictEntity [dictTypeCode=" + dictTypeCode + ", code=" + code + ", name=" + name + ", sequence="
				+ sequence + "]";
	}

}
